//package com.imesne.assistant.jdbc.command.entity;
//
//import com.imesne.assistant.jdbc.command.AbstractCommandExecutor;
//import com.imesne.assistant.jdbc.management.CommandTable;
//import com.imesne.assistant.jdbc.mapping.DefaultMappingHandler;
//import com.imesne.assistant.jdbc.mapping.MappingHandler;
//
///**
// * 抽象的执行类，用来设置 CommandContextBuilder PersistExecutor
// * <p>
// * Created by liyd on 17/4/11.
// */
//public abstract class AbstractEntityCommandExecutor extends AbstractCommandExecutor {
//
//    protected MappingHandler mappingHandler;
//
//    protected CommandTable commandTable;
//
//    public AbstractEntityCommandExecutor() {
//        mappingHandler = new DefaultMappingHandler();
//        commandTable = new CommandTable();
//        setMappingHandler(mappingHandler);
//    }
//
//    public void setMappingHandler(MappingHandler mappingHandler) {
//        this.mappingHandler = mappingHandler;
//        this.commandTable.setMappingHandler(mappingHandler);
//    }
//
//    public void setType(Class<?> type) {
//        super.setType(type);
//        commandTable.setType(type);
//    }
//
//}
